﻿using ZeroSum.Plugin.Authorization.Datas.Services.Menus;
using ZeroSumZSA.Core.Aggregates.MenuAggregate;

namespace ZeroSumZSA.Core.DomainServices.Menus;

public interface IMenuDomainService : IMenuBaseDomainService<Menu>
{
    IQueryable<Menu>? Query(string keyword);
    Task<bool> CheckForPermission(IList<long> roleIds, string? permission);
}